﻿using Entity;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace Api.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class UserController : ControllerBase
    {
        private readonly ApiDBContext db;

        public UserController(ApiDBContext context)
        {
            db = context;
        }

        public int GetAge()
        {
            return 16;
        }


        public string Getname()
        {
            return "张三";
        }

        public Result get()
        {
            return new Result();
        }
    }
}
